package com.cqupt.pojo;

/**
 * 触发器类
 */
public class Trigger {
    /**
     * triggerId 触发器id
     * description 功能描述
     * comments
     * descriptionZh 功能描述（中文）
     * commentsZh
     */
    private Long triggerId;
    private String description;
    private String comments;
    private String descriptionZh;
    private String commentsZh;

    /**
     * 获取触发器id
     * @return
     * 返回类型-long
     */
    public Long getTriggerId() {
        return triggerId;
    }

    /**
     * 设置触发器id
     * @param triggerId
     */
    public void setTriggerId(Long triggerId) {
        this.triggerId = triggerId;
    }

    /**
     * 获取功能描述
     * @return
     */
    public String getDescription() {
        return description;
    }

    /**
     * 设置 功能描述
     * @param description
     */
    public void setDescription(String description) {
        this.description = description;
    }

    /**
     *
     * @return
     */
    public String getComments() {
        return comments;
    }

    /**
     *
     * @param comments
     */
    public void setComments(String comments) {
        this.comments = comments;
    }

    /**
     * 获取中文描述
     * @return
     */
    public String getDescriptionZh() {
        return descriptionZh;
    }

    /**
     * 设置中文描述
     * @param descriptionZh
     */
    public void setDescriptionZh(String descriptionZh) {
        this.descriptionZh = descriptionZh;
    }

    /**
     *
     * @return
     */
    public String getCommentsZh() {
        return commentsZh;
    }

    /**
     *
     * @param commentsZh
     */
    public void setCommentsZh(String commentsZh) {
        this.commentsZh = commentsZh;
    }

    /**
     * 将对象转为字符串
     * @return
     */
    @Override
    public String toString() {
        return "Trigger{" +
                "triggerid=" + triggerId +
                ", description='" + description + '\'' +
                ", comments='" + comments + '\'' +
                ", description_zh='" + descriptionZh + '\'' +
                ", comments_zh='" + commentsZh + '\'' +
                '}';
    }
}
